* {
  box-sizing: border-box;
}
body {
  min-width: 320px;
  max-width: 540px;
  width: 100%;
  font:
    normal 14px/1.5 Tahoma,
    "Lucida Grande",
    Verdana,
    "Microsoft Yahei",
    STXihei,
    hei;
  color: #000;
  margin: 0 auto;
  height: 1000px;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: #fff;
}
a > span {
  color: #222;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* #region 搜索模块*/
.search {
  position: fixed;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 44px;
  min-width: 320px;
  max-width: 540px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  background-color: #f6f6f6;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
.search > div {
  flex: 1;
  height: 26px;
  vertical-align: bottom;
  line-height: 24px;
  border: 1px solid #ccc;
  margin: 0 10px;
  border-radius: 5px;
  position: relative;
  padding-left: 30px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
.search > div::before {
  content: "";
  width: 15px;
  height: 15px;
  background-image: url(../images/sprite.png);
  background-repeat: no-repeat;
  background-size: 104px auto;
  background-position: -59px -279px;
  position: absolute;
  top: 5px;
  left: 10px;
}
.search > .user {
  width: 44px;
  height: 44px;
  font-size: 12px;
  text-align: center;
  color: #2eaae0;
}
.search > .user::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url(../images/sprite.png);
  background-repeat: no-repeat;
  background-size: 104px auto;
  background-position: -58px -194px;
  margin: 5px auto -3px;
}
/* #endregion 搜索模块*/
/* #region 轮播图*/
.carousel {
}
.carousel > img {
  margin-top: 44px;
  width: 100%;
  vertical-align: middle;
}
/* #endregion 轮播图*/
/* #region 导航1*/
ul.nav1 {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  height: 64px;
  margin: 3px 4px;
  border-radius: 8px;
}
ul.nav1 > li {
  flex: 1;
}
ul.nav1 > li > a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
ul.nav1 > li > a > .icon {
  display: block;
  width: 32px;
  height: 32px;
  background-image: url(../images/localnav_bg.png);
  background-repeat: no-repeat;
  background-size: 32px auto;
  background-position-x: 0px;
}
ul.nav1 > li > a > .text {
  font-size: 12px;
}
/* #endregion 导航1*/
/* #region 导航2*/
.nav2 {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 3px;
  margin-bottom: 3px;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
  font-size: 14px;
}
.nav2 > div {
  height: 88px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  /* gap: 1px; */
}
.nav2 > div > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.nav2 > div > div:not(:first-child) {
  border-left: 1px solid #fff;
}
.nav2 > div > .name {
  align-items: center;
}
.nav2 > div:nth-child(1) > .name {
  background-image: url(../images/hotel.png);
  background-repeat: no-repeat;
  background-size: 121px auto;
  background-position: bottom center;
}
.nav2 > div:nth-child(2) > .name {
  background-image: url(../images/flight.png);
  background-repeat: no-repeat;
  background-size: 42px auto;
  background-position: bottom center;
}
.nav2 > div:nth-child(3) > .name {
  background-image: url(../images/vacation.png);
  background-repeat: no-repeat;
  background-size: 42px auto;
  background-position: bottom center;
}
.nav2 > div > .name > a {
  flex: 1;
  padding-top: 15px;
  color: #fff;
}
.nav2 > div > .subtype {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nav2 > div > .subtype > a {
  flex: 1;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav2 > div > .subtype > a:not(:first-child) {
  border-top: 1px solid #fff;
}
.nav2 > div:nth-child(1) {
  background: linear-gradient(to right, #ff6851, #d7b18d);
}
.nav2 > div:nth-child(2) {
  background: linear-gradient(to right, #448eec, #4bb3eb);
}
.nav2 > div:nth-child(3) {
  background: linear-gradient(to right, #42b7af, #76bb6b);
}
/* #endregion 导航2*/
/* #region 导航3*/
.nav3 {
  padding: 15px 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  row-gap: 10px;
}
.nav3 > li {
  flex: 20%;
}
.nav3 a {
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.nav3 a > .icon {
  width: 24px;
  height: 27.3px;
  background-image: url(../images/subnav-bg.png);
  background-repeat: no-repeat;
  background-size: 24px 300px;
  background-position-x: 0px;
}
/* #endregion 导航3*/
/* #region 销售模块*/
.sales_box {
  height: 300px;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin-top: 5px;
  border-bottom: 1px solid #ccc;
}
.sales_box > .sales_hd {
  padding: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.sales_box > .sales_hd > .left {
  width: 76px;
  height: 21px;
  background-image: url(../images/hot.png);
  background-repeat: no-repeat;
  background-size: 79px auto;
  background-position: 0 -17px;
}
.sales_box > .sales_hd > .right {
  color: #fff;
  padding: 3px 10px;
  border-radius: 15px;
  background-color: orange;
  background: linear-gradient(to right, #ff506c, #ff6bc6);
}
.sales_box > .sales_bd {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.sales_box > .sales_bd > li {
  flex: 50%;
  border-top: 1px solid #ccc;
}
.sales_box > .sales_bd > li:nth-child(even) {
  border-left: 1px solid #ccc;
}
.sales_box > .sales_bd > li > a > img {
  width: 100%;
  height: 100%;
}
/* #endregion 销售模块*/
